// currentListID 是当前活动(状态未改变)菜单ID
currentListID = '#' + $("#sideList li:first").attr("id");
currentContentID = '#' + $("#sideContent section:first").attr("id");
$("#sideList li:first").addClass("side-active");
$("#sideContent section:first").addClass("side-open");
(function(){
$("#sideList li").each(function(i,item){
	// oj记录当前被点击事件的ID
	var oj = '#' + $(item).attr("id");
	$(item).on("click",{oj:oj},function(event){
			//console.log("sideBarList:" +oj+ "被点击");
		if (! $(oj).hasClass("side-active")) {
			$(currentListID).removeClass("side-active");
			currentListID = oj;
			$(currentListID).addClass("side-active");
			$(currentContentID).removeClass("side-open fade-in-from-bottom");
			currentContentID = oj + "_Content";
			$(currentContentID).addClass("side-open fade-in-from-bottom");
		}
	});
	});
})();

